@mixin name {
    color:red;
    @content;
}
.box{
  @include name{
       font-size:20px;
       background:red;
    } 
}
